<template>
	<view>
		<view>
			<!-- 扫码进群 -->
      <create-qr-code
      :titleIconSrc="vuex_userInfo.avatar"
      :title="vuex_userInfo.name" :qrInfoObj="qrModelInfo"></create-qr-code>
		</view>
	</view>
</template>

<script>
	import qrInfoPop from '@/components/create-qr-code/create-qr-code.vue';
	export default {
		components:{
			qrInfoPop
		},
		data() {
			return {
				qrModelInfo:'',
			};
		},
		created:function(){
      const data = JSON.stringify({
        id: this.vuex_userInfo.id,
        account: this.vuex_userInfo.account
      })
      this.qrModelInfo = data
		},
		onLoad:function(option){
      this.qrModelFlag=true;
		},
		methods:{
			closeQRModel:function(){
				let that=this;
				console.log("返回");
				that.qrModelFlag=false;
				uni.navigateBack();
			},
		}
	}
</script>

<style lang="scss">

</style>
